/**
 * Author:		Seppe Staes
 * Project: 	Credoc - eDossier 
 * Date:		04/2013
 * 
 * Description: Conceptual Model
 * 
 * 				Edossier
 * 					> Deeds
 * 						> Parties
 * 						> Documents
 * 						> Goods
 * 						> Transactions
 * 							> Goods
 * 							> Parties
 * 							> Amounts
 * 						> Expeditions
 * 					> Parties
 * 					> Documents
 * 					> Goods
 * 
 * TODO:		Add CRUD to all objects/collection for local datastore
 * 				Extend with 	
 * 					> Jasmine is a behaviour-driven development (BDD) testing framework for JavaScript,
 * 					> Sinon.JS is a library that provides fake objects � spies, stubs and mocks � for testing your JavaScript code.
 */


/**
 * Deed/DeedCollection
 */

Deed = Backbone.Model.extend({
    defaults:{
    	id: null,
    	description: null,
    	dateCreation: null,
    	dateUpdate: null
    }
});

DeedCollection = Backbone.Collection.extend({
	model: Deed,
	localStorage: new Backbone.LocalStorage('deeds')
});



